﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QianBuo.Lottery.Web.Models.IndexModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	欢迎使用
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% if(Model.nc>0) %>
    <% { %>
    <% foreach (var item in Model.Notices)%>
    <% { %>
    <table width="100%" class="home_notices">
        <tr ><th align="center" class="notice_title"><%=item.Propertie3?string.Format("<font color='red'>{0}</font>",item.Propertie1):item.Propertie1 %></th></tr>
        <tr><td align="left" class="notice_content"><%=item.Propertie2 %></td></tr>
    </table>
    <p/>
    <% } %>
    <% if(Model.nc>Model.s) %>
    <% { %>
    <table width="100%">
        <tr><td align="left"><%=Html.Pager(Model.id.Value, Model.s.Value, Model.nc, "id", Url.Route(null), "s") %></td></tr>
    </table>
    <% } %>
    <% } %>
</asp:Content>
